]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
theme: tiled window previews
authorJakub Steiner <jimmac@gmail.com>
Tue, 13 Jan 2015 12:53:43 +0000 (13:53 +0100)
committerFlorian Müllner <fmuellner@gnome.org>
Fri, 20 Feb 2015 14:14:45 +0000 (15:14 +0100)
data/theme/_common.scss
data/theme/_gnome-shell-old.scss
data/theme/gnome-shell.css

index 2173900360cdf5fc5d12bb8e3ced3797b101f416..4c00f013aad5509fa6b5406ffe3621d39056b525 100644 (file)
@@ -4,6 +4,8 @@
 $cakeisalie: "This stylesheet is generated, DO NOT EDIT";
 /* #{$cakeisalie} */
 
+$panel-corner-radius: 6px;
+
 /* Copyright 2009, Red Hat, Inc.
  *
  * Portions adapted from Mx's data/style/default.css
@@ -343,6 +345,24 @@ StScrollBar {
   padding: 12px;
 }
 
+/* Tiled window previews */
+.tile-preview {
+  background-color: transparentize($selected_bg_color,0.5);
+  border: 1px solid $selected_bg_color;
+}
+
+  .tile-preview-left.on-primary {
+    border-radius: $panel-corner-radius $panel-corner-radius 0 0 0;
+  }
+
+  .tile-preview-right.on-primary {
+    border-radius: 0 $panel-corner-radius 0 0;
+  }
+
+  .tile-preview-left.tile-preview-right.on-primary {
+    border-radius: $panel-corner-radius $panel-corner-radius 0 0;
+  }
+
 /* TOP BAR */
 
 #panel {
@@ -361,7 +381,7 @@ StScrollBar {
   }
   
   .panel-corner {
-    -panel-corner-radius: 6px;
+    -panel-corner-radius: $panel-corner-radius;
     -panel-corner-background-color: black;
     -panel-corner-border-width: 2px;
     -panel-corner-border-color: transparent; 
index 164584a0aae770a2c4597e9715fea3af512e45f8..0fb18cb599d07517233e5c16707034d4596ad0bd 100644 (file)
 
 
 
-/* Tile previews */
-.tile-preview {
-    background-color: rgba(74, 144, 217, 0.35);
-    border: 1px solid #4a90d9; /* Adwaita selected bg color */
-}
-
-.tile-preview-left.on-primary {
-    /* keep in sync with -panel-corner-radius */
-    border-radius: 6px 0 0 0;
-}
-
-.tile-preview-right.on-primary {
-    /* keep in sync with -panel-corner-radius */
-    border-radius: 0 6px 0 0;
-}
-
-.tile-preview-left.tile-preview-right.on-primary {
-    /* keep in sync with -panel-corner-radius */
-    border-radius: 6px 6px 0 0;
-}
-
-/* Modal Dialogs */
 
 
 /* End Session Dialog */
index 1822d83b3095933c5245f9ad71576789e5e5ca06..b8b599808c46c31c1cea076806199c4a3e0f72ee 100644 (file)
  * along with this program; if not, write to the Free Software Foundation,
  * Inc., 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA.
  */
-/* Tile previews */
-.tile-preview {
-  background-color: rgba(74, 144, 217, 0.35);
-  border: 1px solid #4a90d9;
-  /* Adwaita selected bg color */ }
-
-.tile-preview-left.on-primary {
-  /* keep in sync with -panel-corner-radius */
-  border-radius: 6px 0 0 0; }
-
-.tile-preview-right.on-primary {
-  /* keep in sync with -panel-corner-radius */
-  border-radius: 0 6px 0 0; }
-
-.tile-preview-left.tile-preview-right.on-primary {
-  /* keep in sync with -panel-corner-radius */
-  border-radius: 6px 6px 0 0; }
-
-/* Modal Dialogs */
 /* End Session Dialog */
 .end-session-dialog {
   spacing: 42px; }
@@ -942,6 +923,20 @@ StScrollBar {
   border-radius: 12px;
   padding: 12px; }
 
+/* Tiled window previews */
+.tile-preview {
+  background-color: rgba(33, 93, 156, 0.5);
+  border: 1px solid #215d9c; }
+
+.tile-preview-left.on-primary {
+  border-radius: 6px 6px 0 0 0; }
+
+.tile-preview-right.on-primary {
+  border-radius: 0 6px 0 0; }
+
+.tile-preview-left.tile-preview-right.on-primary {
+  border-radius: 6px 6px 0 0; }
+
 /* TOP BAR */
 #panel {
   background-color: black;